package com.machine.dao.user;

import java.util.List;

import com.machine.bean.User;

public interface UserDao {
	
	public int save(User user);
	public User getUserById(int id);
	public User getUserByName(String username);
	public List<User> getUsers();
	public void updateUser(User user);
	public void deleteUser(User user);
	public User getUser(String username,String password);

	
	public void insertBetterSupport(String componentname,String dingdanhao,String gonghuoshang);
	public void deleteById(String id);
	
	public void insertUpload(String path, String name);
	public boolean uploadCheck();
	
	public void deleteRecomment(String id);
	
	public void insertads(String pic);
	
	public void deleteAds(String id);
	
	
}
